
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="../js/calendar.js"></script>
    <link rel="stylesheet" type="text/css" href="../style/style.css"></link>
    <style type="text/css">
        form{
            margin: 5px 0;
        }

        fieldset{
            padding: 0 1em 1em 1em;
            margin: auto;
            width: 400px;
            display: block;
        }

        fieldset div{
            margin: 5px 0;
        }

        legend {
            padding: 1em;
        }

        label{
            float: left;
            width: 100px;
        }

        #content div input{
            width: 200px;
        }

        fieldset.buttons{
            border: solid 1px #ffffff;
            text-align: center;
            display:block;
            margin-top: 20px;
        }

    </style>
    <title>入住办理</title>
</head>
<body>
<div id="container">
    <div id="header">
        <ul>
            <li>
                <a href="<%=request.getContextPath()%>/hotel/manager/login.jsp"
                   onclick="return confirm('确定要退出登录吗？');">退出</a>
            </li>

        </ul>
    </div>
    <div id="menu">
        <ul>
            <li><a href="<%=request.getContextPath()%>/hotel/manager/bookQuery.jsp">客房管理</a></li>
            <li><a href="<%=request.getContextPath()%>/hotel/manager/memberQuery.jsp">会员管理</a></li>
            <li><a href="<%=request.getContextPath()%>/hotel/manager/subscriptionQuery.jsp">订单管理</a></li>
        </ul>
    </div>
    <div id="content">
        <form action="<%=request.getContextPath()%>/addReside.member" method="post">
        <fieldset>
                <legend>入住信息</legend>
                <input type="hidden" name="bookidNo" value="<%= request.getParameter("bookidNo") %>" />
                <input type="hidden" name="startDate" value="<%= request.getParameter("startDate") %>" />
                <input type="hidden" name="no" value="<%= request.getParameter("no") %>" />
                <div>
                    <label for="username">入住人</label>
                    <input type="text" name="bookidername" id="bookidername" />
                </div>
                <div>
                    <label for="password">身份证</label>
                    <input type="text" name="idcard" id="idcard" />
                </div>
            </fieldset>
            <fieldset class="buttons">
                <input type="submit" value="添加" />
                <input type="button" value="返回" onclick="goBack()">
                <script>
                    function goBack() {
                        window.history.back();
                    }
                </script>
            </fieldset>
        </form>
    </div>
    <hr />
    <div id="footer">
        <p>本系统做为Java Web教学设计使用。未经允许，不得做为它用，版权所有Allan<br />联系方式：javamedia@live.cn</p>
    </div>
</div>
</body>
</html>
